from ronglian_sms_sdk import SmsSDK
from config.setting import DevConfig

def send_message(phone,cade):
    sdk = SmsSDK(DevConfig.AccId, DevConfig.AccToken, DevConfig.AppId)
    # mobile = '手机号1,手机号2'
    datas = (cade, '1')
    resp = sdk.sendMessage(DevConfig.Tid, phone, datas)
    return resp